#!usr/bin/env python3
import pandas as pd
dic = {'张三':25, '李四':26, '王五':24, '赵六':26, '田七':27}
# 使用字典创建Series对象
series_dic = pd.Series(dic)
series_dic
# 实现in操作
'张三' in series_dic
'刘八' in series_dic
# 添加键值对
series_dic['崔九'] = 29
series_dic
# keys, values & items
    # 获取index对象
series_dic.keys()
series_dic.index
    # 获取？？？int64
series_dic.keys
    # 获取values数组
series_dic.values
    # 获取items
series_dic.items()
print(list(series_dic.items()))